package com.whut.mapper;

import com.whut.model.Summary;

import java.util.List;

public interface SummaryMapper {
    int deleteByPrimaryKey(Integer mkey);

    int insert(Summary record);

    int insertSelective(Summary record);

    Summary selectByPrimaryKey(Integer mkey);

    int updateByPrimaryKeySelective(Summary record);

    int updateByPrimaryKey(Summary record);

    List<Summary> getSummaryInfo(int checkId,int firstId);

    List<Summary> getAllSummaryByThirdId(int checkId,int thirdId);

    /**
     * @author： wenyihan
     * @description： 获取单个第四级对应的小结
     * @date： 16:18 2020/10/13
     * @param： [checkId, fourthId]
     * @return： java.lang.String
    */
    List<Summary> getSummaryInfoByFourthId(Integer checkId, Integer fourthId);
}